Simple_Sponsorships\Gateways\Payment_Gateway S

Total Complexity 34
Dependencies 0
Dependents 1
Total lines 385
Lines of code 102
Logical lines of code 44
Comment lines 219
Methods 23
Properties 16

Methods 23

Method Rating Maintainability Complexity Lines of code
get_settings()
S
59 7 12
get_return_url()
S
62 3 11
get_icon()
S
73 2 4
can_refund_sponsorship()
S
79 2 3
payment_fields()
S
71 2 6
register_settings_fields()
S
62 1 11
__construct()
S
75 1 4
process_webhooks()
S
98 1 1
supports()
S
78 1 3
validate_fields()
S
82 1 3
process_refund()
S
82 1 3
process_payment()
S
82 1 3
set_current()
S
81 1 3
get_title()
S
79 1 3
get_description()
S
79 1 3
register_gateway_section()
S
75 1 4
is_available()
S
74 1 5
has_fields()
S
81 1 3
needs_setup()
S
82 1 3
get_method_description()
S
79 1 3
get_method_title()
S
79 1 3
get_fields()
S
77 1 4
complete()
S
76 1 4